FoldersApi
interface FoldersApi
Content copied to clipboard
Functions
addDocumentsToFolder
Link copied to clipboard
@PUT(value = folders/{folderId}/documents)
Content copied to clipboard
Add document(s) to folder This endpoint allows you to add one or more documents to a folder owned by the user Responses:
200: Success. Documents were successfully added to folder
401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.
404: Not Found. The folderID or one of the receipt IDs you have provided do not exist or do not belong to the user.
createFolder
Link copied to clipboard
@POST(value = folders)
Content copied to clipboard
deleteFolder
Link copied to clipboard
@DELETE(value = folders/{folderId})
Content copied to clipboard
deleteFolders
Link copied to clipboard
@DELETE(value = folders)
Content copied to clipboard
getFolders
Link copied to clipboard
@GET(value = folders)
Content copied to clipboard
removeDocumentFromFolder
Link copied to clipboard
@DELETE(value = folders/{folderId}/documents)
Content copied to clipboard
Remove document(s) from folder This endpoint allows you to remove multiple documents from a folder owned by the user Responses:
200: Success. Documents were successfully removed from the folder
401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.
404: Not Found. The folderID or one of the receipt IDs you have provided do not exist or do not belong to the user.
upsertFolder
Link copied to clipboard
@PUT(value = folders/{folderId})
Content copied to clipboard